package nc.ui.fjpec.crm.crm_98h1h7;

import nc.ui.fjpec.crm.crm_98h1h7.Action;
import nc.ui.fjpec.crm.crm_98h1h7.Control;
import nc.ui.fjpec.crm.crm_98h1h7.btn.ChildButtonVO;
import nc.ui.rino.single.BaseView;
import nc.ui.trade.bill.AbstractManageController;
import nc.ui.trade.manage.ManageEventHandler;
import nc.vo.trade.button.ButtonVO;

public class View extends BaseView{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Override
	protected AbstractManageController createController() {
		return new Control();
	}

	@Override
	protected ManageEventHandler createEventHandler() {
		return new Action(this, getUIControl());
	}
	
	protected void initPrivateButton() {
		super.initPrivateButton();
		ChildButtonVO childBtn = new ChildButtonVO();
		addPrivateButton(childBtn.getButtonVO());
		ButtonVO[] btnVOs = childBtn.getChildBtn();
		for (ButtonVO buttonVO : btnVOs) {
			addPrivateButton(buttonVO);
		}
		
	}

}
